package com.jmyd.sharding.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jmyd.sharding.base.dto.KeywordQueryDto;
import com.jmyd.sharding.domain.po.SysOrder;
import com.jmyd.sharding.domain.vo.SysCouponVo;
import com.jmyd.sharding.domain.vo.SysOrderVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author samphin
 * @date 2024/6/20 10:48
 */
@Repository
public interface SysOrderMapper extends BaseMapper<SysOrder> {
    int deleteByPrimaryKey(String id);

    int insert(SysOrder record);

    int insertSelective(SysOrder record);

    SysOrder selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SysOrder record);

    int updateByPrimaryKey(SysOrder record);

    /**
     * 查询列表
     *
     * @param queryDto
     * @author samphin
     * @date 2024-6-19 10:03:47
     */
    List<SysOrderVo> paging(KeywordQueryDto queryDto);
}